// EditEventDialog.cpp : implementation file
//
#include "Cmn.h"
#include "EditEventDialog.h"


// CEditEventDialog dialog

IMPLEMENT_DYNAMIC(CEditEventDialog, CDialog)

CEditEventDialog::CEditEventDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CEditEventDialog::IDD, pParent)
	, Starting_Time_day(_T(""))
	, Starting_Time_Month(_T(""))
	, Ending_time_day(_T(""))
	, Ending_time_month(_T(""))
	, Starting_time_year(_T(""))
	, Ending_time_year(_T(""))
	, Starting_time_Hour(_T(""))
	, Ending_time_Hour(_T(""))
	, Starting_time_minutes(_T(""))
	, Ending_time_Minutes(_T(""))
	, Event_name(_T(""))
{

}

CEditEventDialog::~CEditEventDialog()
{
}

void CEditEventDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT2, Starting_Time_day);
	DDV_MaxChars(pDX, Starting_Time_day, 2);
	DDX_Text(pDX, IDC_EDIT3, Starting_Time_Month);
	DDV_MaxChars(pDX, Starting_Time_Month, 2);
	DDX_Text(pDX, IDC_EDIT6, Ending_time_day);
	DDV_MaxChars(pDX, Ending_time_day, 2);
	DDX_Text(pDX, IDC_EDIT7, Ending_time_month);
	DDV_MaxChars(pDX, Ending_time_month, 2);
	DDX_Text(pDX, IDC_EDIT4, Starting_time_year);
	DDV_MaxChars(pDX, Starting_time_year, 4);
	DDX_Text(pDX, IDC_EDIT9, Ending_time_year);
	DDV_MaxChars(pDX, Ending_time_year, 4);
	DDX_Text(pDX, IDC_EDIT5, Starting_time_Hour);
	DDV_MaxChars(pDX, Starting_time_Hour, 2);
	DDX_Text(pDX, IDC_EDIT10, Ending_time_Hour);
	DDV_MaxChars(pDX, Ending_time_Hour, 2);
	DDX_Text(pDX, IDC_EDIT8, Starting_time_minutes);
	DDV_MaxChars(pDX, Starting_time_minutes, 2);
	DDX_Text(pDX, IDC_EDIT11, Ending_time_Minutes);
	DDV_MaxChars(pDX, Ending_time_Minutes, 2);
	DDX_Text(pDX, IDC_EDIT1, Event_name);
	DDV_MaxChars(pDX, Event_name, 20);
}


BEGIN_MESSAGE_MAP(CEditEventDialog, CDialog)
	ON_EN_CHANGE(IDC_EDIT2, &CEditEventDialog::OnEnChangeEdit2)
	ON_EN_CHANGE(IDC_EDIT3, &CEditEventDialog::OnEnChangeEdit3)
	ON_EN_CHANGE(IDC_EDIT9, &CEditEventDialog::OnEnChangeEdit9)
	ON_EN_CHANGE(IDC_EDIT7, &CEditEventDialog::OnEnChangeEdit7)
	ON_EN_CHANGE(IDC_EDIT4, &CEditEventDialog::OnEnChangeEdit4)
	ON_EN_CHANGE(IDC_EDIT5, &CEditEventDialog::OnEnChangeEdit5)
	ON_EN_CHANGE(IDC_EDIT10, &CEditEventDialog::OnEnChangeEdit10)
	ON_EN_CHANGE(IDC_EDIT8, &CEditEventDialog::OnEnChangeEdit8)
	ON_EN_CHANGE(IDC_EDIT11, &CEditEventDialog::OnEnChangeEdit11)
	ON_EN_CHANGE(IDC_EDIT1, &CEditEventDialog::OnEnChangeEdit1)
END_MESSAGE_MAP()


// CEditEventDialog message handlers


void CEditEventDialog::OnEnChangeEdit2()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.

	// TODO:  Add your control notification handler code here
}


void CEditEventDialog::OnEnChangeEdit3()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.


	// TODO:  Add your control notification handler code here
}


void CEditEventDialog::OnEnChangeEdit9()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	// TODO:  Add your control notification handler code here
}


void CEditEventDialog::OnEnChangeEdit7()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()


	// TODO:  Add your control notification handler code here
}


void CEditEventDialog::OnEnChangeEdit4()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.

	// TODO:  Add your control notification handler code here
}


void CEditEventDialog::OnEnChangeEdit5()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
}


void CEditEventDialog::OnEnChangeEdit10()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask. here
}


void CEditEventDialog::OnEnChangeEdit8()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// TODO:  Add your control notification handler code here
}


void CEditEventDialog::OnEnChangeEdit11()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	// TODO:  Add your control notification handler code here
}


void CEditEventDialog::OnEnChangeEdit1()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.

	// TODO:  Add your control notification handler code here
}
